package com.xhtt.smart.card.common.msg.bean;

import com.xhtt.smart.card.common.enums.FunctionTypeEnum;
import com.xhtt.smart.card.common.enums.TransferTypeEnum;

/**客户端接收到的bean
 * @author wangze
 * @date 2018-07-04 15:31.
 **/
public class MsgClientBean {

    /**
     * 传输类别
     */
    private TransferTypeEnum transferType;


    /**
     * 功能码
     */
    private FunctionTypeEnum functionType;


    /**
     * 数据长度
     */
    private int dataLength;


    /**
     * 数据域
     */
    private byte[] data;


    public MsgClientBean(){

    }

    public TransferTypeEnum getTransferType() {
        return transferType;
    }

    public void setTransferType(TransferTypeEnum transferType) {
        this.transferType = transferType;
    }

    public FunctionTypeEnum getFunctionType() {
        return functionType;
    }

    public void setFunctionType(FunctionTypeEnum functionType) {
        this.functionType = functionType;
    }

    public int getDataLength() {
        return dataLength;
    }

    public void setDataLength(int dataLength) {
        this.dataLength = dataLength;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
